package com.collabscm.waf.solution.failover.impl;

import com.collabscm.waf.solution.failover.Credentials;
import com.collabscm.waf.vo.ValueObject;

/**
 * 登录系统的凭证信息
 *
 * @author Zeng Raoxing
 */
public class LoginCredentials extends ValueObject implements Credentials {
	private static final long serialVersionUID = 1L;
	/**
	 * 登录的用户代码
	 */
	private String userCode;
	/**
	 * 用户录入的密码
	 */
	private String password;
	/**
	 * 用户登录的IP地址
	 */
	private String ipAddress;
	
	public LoginCredentials(String userCode, String password, String ipAddress) {
		this.userCode = userCode;
		this.password = password;
		this.ipAddress = ipAddress;
	}

	public String getUserCode() {
		return userCode;
	}

	public String getPassword() {
		return password;
	}

	public String getIpAddress() {
		return ipAddress;
	}

}
